{% extends "base.html" %}

{%block title%}Generator liczb - chybił trafił{%endblock%}

{% block content %}
	<div id="content">
		<div class="post">
			<div class="title">
				<h2>Generator liczb - <i>chybił trafił</i></h2>
			</div>
			<div class="entry">
			    <form method="POST" action="{%url random%}">
			    {% csrf_token %}
    			    {{form.mode}}
	                <input type="submit" id="pick" class="m-l" value="Losuj" />
            	</form>
            	<br />
    			{%for v in value%}
	    			<div class="numb">{{v}}</div>
	    		{%endfor%}
			</div>
		</div>
	</div>
{% endblock %}
